import org.nutz.log.Log;
import org.nutz.log.Logs;

/**
 * Created by chenyingxi on 2014/5/21.
 */
public class PetService {
    public static Log log = Logs.get();
    private String name;
    private String javaHome;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJavaHome() {
        return javaHome;
    }

    public void setJavaHome(String javaHome) {
        this.javaHome = javaHome;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


    public PetService(String name) {
        this.name = name;
    }

    public void init() {
        log.debug("I am initing");
    }

    public void fetchMe() {
        log.debug("Fetch ing");
    }

    public void close() {
        log.debug("Closing");
    }

}
